<?php

class Post extends Eloquent{

    public $timestamps = false;

	protected $table = 'post';

    public function vest()
    {
        return $this->hasOne('Vest', 'id');
    }
    public function promo()
    {
        return $this->hasOne('Promo', 'id');
    }
    public function baner()
    {
        return $this->hasOne('Baner', 'id');
    }
}

?>